<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../js/vue.js"></script>
    <style>
        [v-cloak] {
            display: none;
        }
    </style>
</head>

<body>

    <dvi id="app">
        <div :style="{border: borderStyle, width: widthStyle, height:heightStyle}"></div>
        <div :style="objStyle"></div>
    </dvi>

    <script>
        var vm = new Vue({
            el: "#app",
            data: {
                borderStyle: "1px solid red",
                widthStyle: "100px",
                heightStyle: "200px",
                objStyle: {
                    border: "1px solid red",
                    width: "100px",
                    height: "200px"
                }
            },
            methods: {
                handle1() {

                }
            }
        })
    </script>
</body>

</html>